/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023.
 * Description: provide security feature boot optimization
 * Author: xiongshenglan <xiongshenglan@huawei.com>
 * Create: 2023-08-03
 */
#ifndef RTOS_BOOT_OPTIMIZATION_H
#define RTOS_BOOT_OPTIMIZATION_H

extern bool rtos_ima_enabled;
extern bool rtos_audit_enabled;
extern bool rtos_hkids_enabled;
extern bool rtos_selinux_enabled;

#ifdef CONFIG_RTOS_SEC_BOOT_OPTIMIZATION
#define RTOS_SEC_IMA_ENABLED (rtos_ima_enabled)
#define RTOS_SEC_AUDIT_ENABLED (rtos_audit_enabled)
#define RTOS_SEC_HKIDS_ENABLED (rtos_hkids_enabled)
#define RTOS_SEC_SELINUX_ENABLED (rtos_selinux_enabled)
#else
#define RTOS_SEC_IMA_ENABLED true
#define RTOS_SEC_AUDIT_ENABLED true
#define RTOS_SEC_HKIDS_ENABLED true
#define RTOS_SEC_SELINUX_ENABLED true
#endif

#endif
